﻿
/*
本文件由工具自动生成 请勿手动修改！！！
*/

using System;
using System.Collections.Generic;

namespace ServerBase.Protocol
{
    public static partial class ProtocolExtensions
    {
        public static (C2G_Base_Demo, G2C_Base_Demo) OnBaseDemo(this byte[] buffer) { return (new C2G_Base_Demo(buffer), new G2C_Base_Demo()); }
        public static (C2G_Base_Ping, G2C_Base_Ping) OnBasePing(this byte[] buffer) { return (new C2G_Base_Ping(buffer), new G2C_Base_Ping()); }
        public static (C2G_Base_GameVersion, G2C_Base_GameVersion) OnBaseGameVersion(this byte[] buffer) { return (new C2G_Base_GameVersion(buffer), new G2C_Base_GameVersion()); }
        public static (C2G_Base_Confirm, G2C_Base_Confirm) OnBaseConfirm(this byte[] buffer) { return (new C2G_Base_Confirm(buffer), new G2C_Base_Confirm()); }
        public static (C2L_Login_NoticeSystem, L2C_Login_NoticeSystem) OnLoginNoticeSystem(this byte[] buffer) { return (new C2L_Login_NoticeSystem(buffer), new L2C_Login_NoticeSystem()); }
        public static (C2L_Login_NoticeActivity, L2C_Login_NoticeActivity) OnLoginNoticeActivity(this byte[] buffer) { return (new C2L_Login_NoticeActivity(buffer), new L2C_Login_NoticeActivity()); }
        public static (C2L_Login_UserLogin, L2C_Login_UserLogin) OnLoginUserLogin(this byte[] buffer) { return (new C2L_Login_UserLogin(buffer), new L2C_Login_UserLogin()); }
        public static (C2L_Login_SdkLogin, L2C_Login_SdkLogin) OnLoginSdkLogin(this byte[] buffer) { return (new C2L_Login_SdkLogin(buffer), new L2C_Login_SdkLogin()); }
        public static (C2G_Login_PlayerLogin, G2C_Login_PlayerLogin) OnLoginPlayerLogin(this byte[] buffer) { return (new C2G_Login_PlayerLogin(buffer), new G2C_Login_PlayerLogin()); }
        public static (C2G_Login_PlayerCreate, G2C_Login_PlayerCreate) OnLoginPlayerCreate(this byte[] buffer) { return (new C2G_Login_PlayerCreate(buffer), new G2C_Login_PlayerCreate()); }
        public static (C2G_Login_CheckName, G2C_Login_CheckName) OnLoginCheckName(this byte[] buffer) { return (new C2G_Login_CheckName(buffer), new G2C_Login_CheckName()); }
        public static (C2G_Login_PuidLogin, G2C_Login_PuidLogin) OnLoginPuidLogin(this byte[] buffer) { return (new C2G_Login_PuidLogin(buffer), new G2C_Login_PuidLogin()); }
        public static (C2G_Info_GetAll, G2C_Info_GetAll) OnInfoGetAll(this byte[] buffer) { return (new C2G_Info_GetAll(buffer), new G2C_Info_GetAll()); }
        public static (C2G_Info_ChangeFlagClient, G2C_Info_ChangeFlagClient) OnInfoChangeFlagClient(this byte[] buffer) { return (new C2G_Info_ChangeFlagClient(buffer), new G2C_Info_ChangeFlagClient()); }
        public static (C2G_Info_ChangeFlagClientDaily, G2C_Info_ChangeFlagClientDaily) OnInfoChangeFlagClientDaily(this byte[] buffer) { return (new C2G_Info_ChangeFlagClientDaily(buffer), new G2C_Info_ChangeFlagClientDaily()); }
        public static (C2G_Info_PlayerFind, G2C_Info_PlayerFind) OnInfoPlayerFind(this byte[] buffer) { return (new C2G_Info_PlayerFind(buffer), new G2C_Info_PlayerFind()); }
        public static (C2G_Notice_System, G2C_Notice_System) OnNoticeSystem(this byte[] buffer) { return (new C2G_Notice_System(buffer), new G2C_Notice_System()); }
        public static (C2G_Notice_Activity, G2C_Notice_Activity) OnNoticeActivity(this byte[] buffer) { return (new C2G_Notice_Activity(buffer), new G2C_Notice_Activity()); }
        public static (C2G_Info_GetConfText, G2C_Info_GetConfText) OnInfoGetConfText(this byte[] buffer) { return (new C2G_Info_GetConfText(buffer), new G2C_Info_GetConfText()); }
        public static (C2G_Mail_List, G2C_Mail_List) OnMailList(this byte[] buffer) { return (new C2G_Mail_List(buffer), new G2C_Mail_List()); }
        public static (C2G_Mail_Read, G2C_Mail_Read) OnMailRead(this byte[] buffer) { return (new C2G_Mail_Read(buffer), new G2C_Mail_Read()); }
        public static (C2G_Mail_Get, G2C_Mail_Get) OnMailGet(this byte[] buffer) { return (new C2G_Mail_Get(buffer), new G2C_Mail_Get()); }
        public static (C2G_Mail_GetAll, G2C_Mail_GetAll) OnMailGetAll(this byte[] buffer) { return (new C2G_Mail_GetAll(buffer), new G2C_Mail_GetAll()); }
        public static (C2G_Mail_Delete, G2C_Mail_Delete) OnMailDelete(this byte[] buffer) { return (new C2G_Mail_Delete(buffer), new G2C_Mail_Delete()); }
        public static (C2G_Mail_DeleteReaded, G2C_Mail_DeleteReaded) OnMailDeleteReaded(this byte[] buffer) { return (new C2G_Mail_DeleteReaded(buffer), new G2C_Mail_DeleteReaded()); }
        public static (C2G_Mail_Save, G2C_Mail_Save) OnMailSave(this byte[] buffer) { return (new C2G_Mail_Save(buffer), new G2C_Mail_Save()); }
        public static (C2G_Mail_Send, G2C_Mail_Send) OnMailSend(this byte[] buffer) { return (new C2G_Mail_Send(buffer), new G2C_Mail_Send()); }
        public static (C2G_Chat_Send, G2C_Chat_Send) OnChatSend(this byte[] buffer) { return (new C2G_Chat_Send(buffer), new G2C_Chat_Send()); }
        public static (C2G_Room_Info, G2C_Room_Info) OnRoomInfo(this byte[] buffer) { return (new C2G_Room_Info(buffer), new G2C_Room_Info()); }
        public static (C2G_Room_Fly, G2C_Room_Fly) OnRoomFly(this byte[] buffer) { return (new C2G_Room_Fly(buffer), new G2C_Room_Fly()); }
        public static (C2G_Room_Go, G2C_Room_Go) OnRoomGo(this byte[] buffer) { return (new C2G_Room_Go(buffer), new G2C_Room_Go()); }
        public static (C2G_Item_Get, G2C_Item_Get) OnItemGet(this byte[] buffer) { return (new C2G_Item_Get(buffer), new G2C_Item_Get()); }
        public static (C2G_Item_Drop, G2C_Item_Drop) OnItemDrop(this byte[] buffer) { return (new C2G_Item_Drop(buffer), new G2C_Item_Drop()); }
        public static (C2G_Item_Use, G2C_Item_Use) OnItemUse(this byte[] buffer) { return (new C2G_Item_Use(buffer), new G2C_Item_Use()); }
        public static (C2G_Equip_Get, G2C_Equip_Get) OnEquipGet(this byte[] buffer) { return (new C2G_Equip_Get(buffer), new G2C_Equip_Get()); }
        public static (C2G_Equip_InfoRoom, G2C_Equip_InfoRoom) OnEquipInfoRoom(this byte[] buffer) { return (new C2G_Equip_InfoRoom(buffer), new G2C_Equip_InfoRoom()); }
        public static (C2G_Equip_InfoInv, G2C_Equip_InfoInv) OnEquipInfoInv(this byte[] buffer) { return (new C2G_Equip_InfoInv(buffer), new G2C_Equip_InfoInv()); }
        public static (C2G_Equip_Drop, G2C_Equip_Drop) OnEquipDrop(this byte[] buffer) { return (new C2G_Equip_Drop(buffer), new G2C_Equip_Drop()); }
        public static (C2G_Equip_Wear, G2C_Equip_Wear) OnEquipWear(this byte[] buffer) { return (new C2G_Equip_Wear(buffer), new G2C_Equip_Wear()); }
        public static (C2G_Equip_Change, G2C_Equip_Change) OnEquipChange(this byte[] buffer) { return (new C2G_Equip_Change(buffer), new G2C_Equip_Change()); }
        public static (C2G_Equip_Unwear, G2C_Equip_Unwear) OnEquipUnwear(this byte[] buffer) { return (new C2G_Equip_Unwear(buffer), new G2C_Equip_Unwear()); }
        public static (C2G_Npc_Look, G2C_Npc_Look) OnNpcLook(this byte[] buffer) { return (new C2G_Npc_Look(buffer), new G2C_Npc_Look()); }
        public static (C2G_Npc_Kill, G2C_Npc_Kill) OnNpcKill(this byte[] buffer) { return (new C2G_Npc_Kill(buffer), new G2C_Npc_Kill()); }
        public static (C2G_Char_Score, G2C_Char_Score) OnCharScore(this byte[] buffer) { return (new C2G_Char_Score(buffer), new G2C_Char_Score()); }
        public static (C2G_Char_OfflineInfo, G2C_Char_OfflineInfo) OnCharOfflineInfo(this byte[] buffer) { return (new C2G_Char_OfflineInfo(buffer), new G2C_Char_OfflineInfo()); }
        public static (C2G_Char_Offline, G2C_Char_Offline) OnCharOffline(this byte[] buffer) { return (new C2G_Char_Offline(buffer), new G2C_Char_Offline()); }
        public static (C2G_Char_Look, G2C_Char_Look) OnCharLook(this byte[] buffer) { return (new C2G_Char_Look(buffer), new G2C_Char_Look()); }
        public static (C2G_Char_Inv, G2C_Char_Inv) OnCharInv(this byte[] buffer) { return (new C2G_Char_Inv(buffer), new G2C_Char_Inv()); }
        public static (C2G_Skill_List, G2C_Skill_List) OnSkillList(this byte[] buffer) { return (new C2G_Skill_List(buffer), new G2C_Skill_List()); }
        public static (C2G_Skill_Levelup, G2C_Skill_Levelup) OnSkillLevelup(this byte[] buffer) { return (new C2G_Skill_Levelup(buffer), new G2C_Skill_Levelup()); }
        public static (C2G_Skill_UsageUse, G2C_Skill_UsageUse) OnSkillUsageUse(this byte[] buffer) { return (new C2G_Skill_UsageUse(buffer), new G2C_Skill_UsageUse()); }
        public static (B2G_Gt_Action, G2B_Gt_Action) OnGtAction(this byte[] buffer) { return (new B2G_Gt_Action(buffer), new G2B_Gt_Action()); }

    }
}

